﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:MenuList三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class MenuListManager
	{
		public static int AddMenuList(MenuList menuList)
		{
			return MenuListService.AddMenuList(menuList);
		}
		public static int DeleteMenuListByid(int id)
		{
			return MenuListService.DeleteMenuListById(id);
		}
		
		public static int ModifyMenuListByid(MenuList menuList)
		{
			return MenuListService.ModifyMenuListByid(menuList);
		}
		
		
		public static IList<MenuList> GetAllMenuLists()
		{
			return MenuListService.GetAllMenuLists();
		}
		public static MenuList GetMenuListByid(int id)
		{
			return MenuListService.GetMenuListByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<MenuList> ShowMenuListForPage(int curragePage,int NUMCount)
		{
			return 	MenuListService.ShowMenuListForPage(curragePage,NUMCount);
		}
	}
}
